#include "userLogin.h"
/* Comment this out to disable prints and save space */
//#define BLYNK_PRINT Serial

BlynkTimer timer;
void myTimerEvent()
{
}
void setup()
{
  // Debug console
  Serial.begin(9600);
  userLoginInit();
  //Blynk.config(userLogin.conInfo.auth, userLogin.conInfo.serverIP, userLogin.conInfo.serverPort);
  //Blynk.begin(auth, ssid, pass);
  timer.setInterval(1000L, myTimerEvent);
}


void loop()
{
  userLoginRun();
  timer.run();
  if(Blynk.connected())Blynk.run();
  /*if(old!=userLogin.conState)
  {
    Serial.print("状态:");
    Serial.println(userLogin.conState,DEC);  
        Serial.print("userLogin.wifiErrorCount:");
    Serial.println(userLogin.wifiErrorCount,DEC);  
   }*/
}
